package com.cxj.mapper;

import com.cxj.domain.Booking;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxj.vo.SelectBookingByUserNameRes;
import com.cxj.vo.SelectByYmNameRes;
import com.cxj.vo.UserInsertBookingReq;
import com.cxj.vo.UserUpdateBookingReq;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
* @author 宋小帅和李小美的computer
* @description 针对表【booking(预约表)】的数据库操作Mapper
* @createDate 2025-02-10 19:44:08
* @Entity com.cxj.domain.Booking
*/
@Mapper
public interface BookingMapper extends BaseMapper<Booking> {
    SelectBookingByUserNameRes selectBookingByUserName(@RequestParam String bookingName);
     Boolean userInsertBooking(@RequestBody UserInsertBookingReq userInsertBookingReq);
     Boolean userDeleteBooking(@RequestParam String ymName,@RequestParam String bookingName);
     Boolean userUpdateBooking(@RequestBody UserUpdateBookingReq userUpdateBookingReq);
}




